/**
 * Created by XianTao on 2015/2/11
 *
 * Copyright (c) 2015-2015
 * Apache License
 * Version 2.0, January 2004
 * http://www.apache.org/licenses/
 */
package com.taotao.wechat.pojo;

/**
 * 客服消息（文本消息）
 */
public class PojoTextMessage {
    private String touser;
    private String msgtype;
    private PojoTextContent text;

    public PojoTextMessage(String touser, String text) {
        this.touser = touser;
        this.msgtype = "text";
        this.text = new PojoTextContent(text);
    }

    public String getTouser() {
        return touser;
    }

    public void setTouser(String touser) {
        this.touser = touser;
    }

    public String getMsgtype() {
        return msgtype;
    }

    public void setMsgtype(String msgtype) {
        this.msgtype = msgtype;
    }

    public PojoTextContent getText() {
        return text;
    }

    public void setText(PojoTextContent text) {
        this.text = text;
    }
}

